package com.wmh.baseservice.operationaid.convert.product;

import com.wmh.baseservice.operationaid.entity.ProductMonitor;
import com.wmh.baseservice.operationaid.pojo.vo.product.monitor.ProductMonitorCreateReqVO;
import com.wmh.baseservice.operationaid.pojo.vo.product.monitor.ProductMonitorUpdateReqVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author 谢骏
 * @date 2023/9/25 14:21
 **/
@Mapper
public interface ProductMonitorConvert {

    ProductMonitorConvert INSTANCE = Mappers.getMapper(ProductMonitorConvert.class);

    ProductMonitor convert(ProductMonitorCreateReqVO reqVO,Long adId);
    ProductMonitor convert(ProductMonitorUpdateReqVO reqVO,Long adId);
}
